package com.dxd.onlineshop.mapper;

import com.dxd.onlineshop.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductMapper {
    //搜索商品
    List<Product> searchProducts(@Param("query") String query, @Param("categoryId") Integer categoryId);
}